package com.go.where.manager.service;

import com.go.where.manager.page.Pagination;
import com.go.where.manager.pojo.CourseRetrospectInfo;
import com.go.where.manager.pojo.user.UserInfoVO;

/**
 * 课程回顾信息Service
 * 
 * @author java
 * 
 */
public interface CourseRetrospectService {

	/**
	 * 根据主键id查询信息
	 * 
	 * @param id
	 * @return
	 */
	public CourseRetrospectInfo queryByPrimartKey(String id);

	/**
	 * 分页查询
	 * 
	 * @param retrospectInfo
	 * @return
	 */
	public Pagination<CourseRetrospectInfo> queryPage(
			CourseRetrospectInfo retrospectInfo);

	/**
	 * 修改信息
	 * 
	 * @param retrospectInfo
	 * @param currentUser
	 * 
	 * @return
	 */
	public int update(CourseRetrospectInfo retrospectInfo,
			UserInfoVO currentUser);

	/**
	 * 保存信息
	 * 
	 * @param retrospectInfo
	 * @param currentUser
	 * 
	 * @return
	 */
	public int save(CourseRetrospectInfo retrospectInfo, UserInfoVO currentUser);

}
